package com.com.ruanmeng.demon;

import java.util.List;

/**
 * Created by lenovo on 2017/5/12.
 */

public class DanWeiList {
    /**
     * msgcode : 100
     * total : 1
     * page : 1
     * pageCount : 1
     * pages : 1
     * rows : [{"compName":"体育总局","companyId":"1","depts":[{"deptId":"1","deptName":"管理部"}]}]
     */

    private int msgcode;
    private int total;
    private int page;
    private int pageCount;
    private int pages;
    private List<RowsBean> rows;

    public int getMsgcode() {
        return msgcode;
    }

    public void setMsgcode(int msgcode) {
        this.msgcode = msgcode;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * compName : 体育总局
         * companyId : 1
         * depts : [{"deptId":"1","deptName":"管理部"}]
         */

        private String compName;
        private String companyId;
        private List<DeptsBean> depts;

        public String getCompName() {
            return compName;
        }

        public void setCompName(String compName) {
            this.compName = compName;
        }

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }

        public List<DeptsBean> getDepts() {
            return depts;
        }

        public void setDepts(List<DeptsBean> depts) {
            this.depts = depts;
        }

        public static class DeptsBean {
            /**
             * deptId : 1
             * deptName : 管理部
             */

            private String deptId;
            private String deptName;

            public String getDeptId() {
                return deptId;
            }

            public void setDeptId(String deptId) {
                this.deptId = deptId;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }
        }
    }
}
